SmartCrawl\Sitemaps\Controller S

Total Complexity 40
Dependencies 4
Dependents 3
Total lines 319
Lines of code 196
Logical lines of code 75
Comment lines 81
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
init()
S
40 2 88
handle_post_save()
S
60 6 14
prime_cache_on_sitemap_settings_page_load()
S
63 4 11
upgrade_sitemap_settings()
S
65 4 8
handle_term_slug_update()
S
62 4 10
handle_term_deletion()
S
63 3 11
get_request_data()
S
76 3 3
should_run()
S
76 2 4
handle_post_delete()
S
69 2 7
json_override_native()
S
64 2 10
json_deactivate_sitemap_module()
S
66 2 9
json_manually_update_sitemap()
S
82 1 3
json_manually_update_engines()
S
81 1 3
json_update_sitemap()
S
74 1 5
json_update_engines()
S
77 1 4
invalidate_sitemap_cache_on_plugin_update()
S
82 1 3
invalidate_sitemap_cache()
S
82 1 3